UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All run control scripts must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-906 GEN001580 SV-38732r1_rule ECLP-1 Medium
Description
If the startup files are writable by other users, they could modify the startup files to insert malicious commands into the startup files.
STIG Date
AIX 5.3 Security Technical Implementation Guide 2012-05-25

Details

Check Text ( C-37149r1_chk )
Check run control script modes.

# cd /etc
# find rc* -ls

If any run control script has a mode more permissive than 0755, this is a finding.
Fix Text (F-32414r1_fix)
Ensure all system startup files have mode 0755 or less permissive. Examine the rc files, all files in the rc1.d (rc2.d, and so on) directories, and in the /etc/init.d directory to ensure they are not world-writable. If the files are world-writable, use the chmod command to correct the vulnerability and research why they are world-writable.

Procedure:
# chmod 755 startupfile
Document all changes.